The base class of any Diamant ORM DAO in which group data reading operations for a relational data store are automatically created
by using TableMappings declaratively expressed.
Top
Top
Top
The following tables list the members exposed by the ConfigurationFirstDiamantGroupingDao<TEntity, TEntityGroup, TDataContext, TDataCommand, TDataReader> type.
Name | Description | |
---|---|---|
Carbonite | Gets the carbonite controller that hosts the current DAO and offers data store context to it. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>). | |
ColumnNamesAndExpressions | Gets the column names and expressions to create SQL SELECT statements. | |
TableMappings | Gets the concrete table mappings to automatically configure read SQL commands. |
Name | Description | |
---|---|---|
Column | Allows to declarative express a object-relational bilateral mapping. | |
Equals | (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object). | |
Expression | Allows to declarative express a object-relational unilateral mapping, so that a given SQL expression controls the value of an entity property. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
Get | (Overloaded) Routes an entity aggregation read request to the underlying data store, so that all TEntity entities in compliance with the TFilteringCriteria are obtained and grouped according to the TGroupingCriteria. (inherited from GroupingDao<TEntity, TEntityGroup, TDataContext, TFilteringCriteria, TGroupingCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>). | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object). | |
Initialize | Initializes the current DAO with the specified host carbonite controller as its data store context provider. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>). | |
MapColumnAndParameterNamesInTextualPredicate | Replaces the entity property names expressed as SomeProperty=@SomeProperty pairs in the given textual predicate, with the names of its equivalent table columns according with the TableMappings. | |
MapColumnNamesInTextualGroupingCriteria | Replaces the entity property names in the given textual grouping criteria, with the names of its equivalent table columns according with the TableMappings. | |
MapColumnNamesInTextualOrderingCriteria | Replaces the entity property names in the given textual ordering criteria, with the names of its equivalent table columns according with the TableMappings. | |
MapCommandParametersFromPredicate | Configures the SQL command parameters according to the given filtering criteria expressed with entity property names. In the command, filtering criteria parameters are converted to its equivalent table columns according with the TableMappings. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
OnBuildSelectedEntity | By using the configured table mappings of OnGetMappings, this inversion control method automatically unpacks relational grouped data into a new instance of TEntityGroup | |
OnConfigureSelectCommand | (Overloaded) By using the configured table mappings of OnGetMappings, this inversion control method automatically produces an SQL SELECT command that handles the request to configure a read command for all entities in compliance with the Where filter from the underlying relational data store. Read entities are grouped according to the GroupBy criteria. | |
OnFormatCommandParameterName | By expressing a text in a valid way for the underlying relational data store syntax, this inversion control method handles the request to format an SQL command parameter name. | |
OnFormatCommandParameterValue | By expressing a .NET native data type value in a valid way for the underlying relational data store syntax, this inversion control method handles the request to format an SQL command parameter name. | |
OnGet | (Overloaded) By obtaining a data command via OnConfigureSelectCommand(TDataCommand,Where,GroupBy) and then running that command, this inversion control method handles the request to obtain TEntityGroup aggregations composed of all TEntity entities in compliance with the Where filtering criteria and grouped according to the GroupBy. (inherited from DiamantGroupingDao<TEntity, TEntityGroup, TDataContext, TDataCommand, TDataReader>). | |
OnGetMappings | By declaratively express a set of object-relational bilateral mappings, this inversion control method handles the request to get the TableMappings for this DAO to function. | |
OnInitialize | Handles the request to initialize the current DAO. | |
OnMapColumnToProperty | By converting to .NET data types a native value from the underlying data store, this inversion control method handles the request to map a data column into the corresponding TEntity property according to the configured TableMappings. | |
OnPostconfigureCommand |
Handles the request to postconfigure a data command suitable for the underlying relational data store.
This method is always called after every OnConfigureSelectCommand .
(inherited from DiamantGroupingDao<TEntity, TEntityGroup, TDataContext, TDataCommand, TDataReader>).
|
|
OnPreconfigureCommand |
Handles the request to preconfigure a data command suitable for the underlying relational data store.
This method is always called before OnConfigureSelectCommand .
(inherited from DiamantGroupingDao<TEntity, TEntityGroup, TDataContext, TDataCommand, TDataReader>).
|
|
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object). | |
ToString | Returns a string that represents the current object. (inherited from Object). |
Name | Description | |
---|---|---|
FromNullable | Converts object values to nullable relational data store values. (Defined by Object_ToNullable). | |
GetAttribute | Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttribute<TAtribute> | (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttributes | Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
GetAttributes<TAtribute> | (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
ToNullable<T> | Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable). |